package cn.gson.springboot.model.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.springboot.model.pojos.DrugTypesYk;
import cn.gson.springboot.model.pojos.FactoryYk;

public interface DrugtypesYkDAO extends CrudRepository<DrugTypesYk, Integer>{
	//查询id
		@Query("select d from DrugTypesYk d where d.drugTypesId=?1")
		public DrugTypesYk bylxid(Integer drugTypesId);
}
